package com.onlyphoto.onlymall.mvp.contract

import com.onlyphoto.onlymall.base.IBasePresenter
import com.onlyphoto.onlymall.base.IBaseView
import com.onlyphoto.onlymall.bean.request.CartGoodsBean
import com.onlyphoto.onlymall.bean.response.GoodsDetailsBean


interface CGoodsDetails {

    interface IPGoodsDetails : IBasePresenter {
        fun getDetails(id: Int)
        fun add2Cart(bean: CartGoodsBean)
    }

    interface IVGoodsDetails : IBaseView {
        fun getDetailsSuccess(bean: GoodsDetailsBean)
        fun add2CartSuccess()
        fun showEmpty()
    }
}